using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN DiemRenLuyenEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: DiemRenLuyenEntity</para>
	/// <para>Description: ClassDiemRenLuyenEntity store data of table DiemRenLuyen</para>
	///</summary>

	[DataContract]
	public partial class DiemRenLuyenEntity{


		private bool _InternalChangedIsNullDiemRenLuyen_ID=true;
		private bool _IsNullDiemRenLuyen_ID=true;
		private bool _InternalChangedIsNullDiem=true;
		private bool _IsNullDiem=true;
		private bool _InternalChangedIsNullXepLoai=true;
		private bool _IsNullXepLoai=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private int _DiemRenLuyen_ID;
		private Decimal _Diem;
		private string _XepLoai;
		private int _SinhVien_ID;
		private int _NamHoc_ID;
		private int _HocKy_ID;
		[DataMember]
		public bool IsNullDiemRenLuyen_ID{
			get{return _IsNullDiemRenLuyen_ID;}
			set{if(!_InternalChangedIsNullDiemRenLuyen_ID)_IsNullDiemRenLuyen_ID=value;}
		}
		[DataMember]
		public bool IsNullDiem{
			get{return _IsNullDiem;}
			set{if(!_InternalChangedIsNullDiem)_IsNullDiem=value;}
		}
		[DataMember]
		public bool IsNullXepLoai{
			get{return _IsNullXepLoai;}
			set{if(!_InternalChangedIsNullXepLoai)_IsNullXepLoai=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public int DiemRenLuyen_ID{
			get{return _DiemRenLuyen_ID;}
			set{
				_DiemRenLuyen_ID=value;
				if(_DiemRenLuyen_ID!=null){
					_IsNullDiemRenLuyen_ID=false;
					_InternalChangedIsNullDiemRenLuyen_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal Diem{
			get{return _Diem;}
			set{
				_Diem=value;
				if(_Diem!=null){
					_IsNullDiem=false;
					_InternalChangedIsNullDiem=true;
				}
			}
		}
		[DataMember]
		public string XepLoai{
			get{return _XepLoai;}
			set{
				_XepLoai=value;
				if(_XepLoai!=null){
					_IsNullXepLoai=false;
					_InternalChangedIsNullXepLoai=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END DiemRenLuyenEntityBase*****************************************/
	/*****************************************************************************************************/
}

